package cn.hk.user.mapper;

import cn.hk.user.domain.UserFamily;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * app用户家庭组表 Mapper 接口
 * </p>
 *
 * @author xu
 * @since 2023-03-07
 */
@DataSource(DataSourceType.KELIN)
public interface UserFamilyMapper extends BaseMapper<UserFamily> {

    UserFamily selectUserFamilyByUserId(@Param("fromUserId") Long fromUserId);

    void insertOne(UserFamily userFamilyNew);

}
